package com.boxin.ims.modules.bi.statics.dao;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.boxin.framework.base.dao.DaoHelper;

/**
 * @author Administrator
 * @date 2014-3-15
 * @function <p>数据分析Dao类 </p>
 */
@Service
public class BIStaticsDao{
	
	@Autowired
	protected DaoHelper daoHelper;

	
	/**
	 * 查询核销按奖品名称
	 *@author xiaoqian
	 * @param params
	 * @return
	 * 2014-4-8上午10:06:13
	 */
	public List<Map<String, Object>> queryAllUsedAwards(Map<String,Object> params){
		return daoHelper.queryForList("com.boxin.ims.bi.queryAllUsedAwards", params);
	}
	
	
	/**
	 * 获得terminalname
	 *@author xiaoqian
	 * @param params
	 * @return
	 * 2014-4-9下午2:26:34
	 */
	public List<Map<String,Object>> queryTerminalByUserId(Map<String,Object> params){
		return daoHelper.queryForList("com.boxin.ims.bi.queryTerminalByUserId", params);
	}
	
}
